﻿using CsvHelper.Configuration.Attributes;

namespace AntBlazorTableSample.Api.Models
{
    public class Customer
    {
        [Name("Customer Id")]
        public string? Id { get; set; }

        [Name("First Name")]
        public string? FirstName { get; set; }

        [Name("Last Name")]
        public string? LastName { get; set; }

        [Name("Company")]
        public string? Company { get; set; }

        [Name("Phone 1")]
        public string? Phone { get; set; }

        [Name("Email")]
        public string? Email { get; set; }

        [Name("Subscription Date")]
        public DateTime SubscriptionDate { get; set; }

    }
}
